import request from '@/utils/request/request';

/**
 * 模型库
 */

// 获取校园模型库模型列表
export function getCampusAiModelPage(params) {
  return request.post('/enterprise/aimodel/getcampusaimodelpage', params);
}

// 获取校园模型库模型详情
export function getCampusAiModelDetail(params) {
  return request.post('/enterprise/aimodel/getcampusaimodeldetail', params);
}

// 校园模型库发布模型
export function setCampusAiModelPublish(params) {
  return request.post('/enterprise/aimodel/setcampusaimodelpublish', params);
}

// 校园模型库取消发布模型
export function cancelCampusAiModelPublish(params) {
  return request.post('/enterprise/aimodel/cancelcampusaimodelpublish', params);
}
